package com.ngc.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ngc.mall.domain.DepartmentDomain;

import java.util.List;

/**
 *
 * 部门
 * @author: chenxiaolin
 * @date 2023/10/28 22:46
**/
public interface IDepartmentService extends IService<DepartmentDomain> {

    Long createDepartment(DepartmentDomain domain);

    Boolean deleteById(Long id);

    Boolean updateById(Long id,DepartmentDomain domain);

    List<DepartmentDomain> findAll();

    List<DepartmentDomain> findAllEnabled();
}
